[INFO] cloning repository https://github.com/executiveusa/synthia-gateway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/executiveusa/synthia-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexecutiveusa%2Fsynthia-gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexecutiveusa%2Fsynthia-gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 764d4096c64403e12138d8186e6844682f79110e
[INFO] checking executiveusa/synthia-gateway against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexecutiveusa%2Fsynthia-gateway" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/executiveusa/synthia-gateway
[INFO] finished tweaking git repo https://github.com/executiveusa/synthia-gateway
[INFO] tweaked toml for git repo https://github.com/executiveusa/synthia-gateway written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/executiveusa/synthia-gateway on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/executiveusa/synthia-gateway already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6970dc346ab29090c24768d20c521d5c5282a30984a5fe49c2b45d64dfc2f988
[INFO] running `Command { std: "docker" "start" "-a" "6970dc346ab29090c24768d20c521d5c5282a30984a5fe49c2b45d64dfc2f988", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6970dc346ab29090c24768d20c521d5c5282a30984a5fe49c2b45d64dfc2f988", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6970dc346ab29090c24768d20c521d5c5282a30984a5fe49c2b45d64dfc2f988", kill_on_drop: false }`
[INFO] [stdout] 6970dc346ab29090c24768d20c521d5c5282a30984a5fe49c2b45d64dfc2f988
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0a7de6dd011f08ca418a54a233f25ab6082e2c3a7a75ca6ccbc4533da929f51
[INFO] running `Command { std: "docker" "start" "-a" "d0a7de6dd011f08ca418a54a233f25ab6082e2c3a7a75ca6ccbc4533da929f51", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]     Checking tokio v1.51.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]     Checking indexmap v2.13.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling fastrand v2.4.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking sqlx-core v0.8.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]    Compiling sqlx-macros v0.8.1
[INFO] [stderr]     Checking sqlx v0.8.1
[INFO] [stderr]     Checking synthia-gateway v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `Unauthorized`, `CircuitOpen`, and `BadRequest` are never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum GatewayError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 11 |     #[error("Unauthorized: invalid or missing gateway API key")]
[INFO] [stdout] 12 |     Unauthorized,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     CircuitOpen(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_agent_id` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn extract_agent_id(req: &Request<Body>) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_budget` is never used
[INFO] [stdout]   --> src/middleware/spend.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn check_budget(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `chat_stream`, and `models` are never used
[INFO] [stdout]   --> src/providers/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait Provider: Send + Sync {
[INFO] [stdout]    |           -------- methods in this trait
[INFO] [stdout] 15 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 16 |     async fn chat(&self, request: serde_json::Value) -> Result<serde_json::Value>;
[INFO] [stdout] 17 |     async fn chat_stream(&self, request: serde_json::Value) -> Result<Vec<u8>>;
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 18 |     async fn models(&self) -> Result<Vec<ProviderModel>>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProviderModel` is never constructed
[INFO] [stdout]   --> src/providers/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ProviderModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NvidiaProvider` is never constructed
[INFO] [stdout]  --> src/providers/nvidia.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct NvidiaProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/nvidia.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl NvidiaProvider {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: NvidiaConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ZaiProvider` is never constructed
[INFO] [stdout]  --> src/providers/zai.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ZaiProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/zai.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ZaiProvider {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: ZaiConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Unauthorized`, `CircuitOpen`, and `BadRequest` are never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum GatewayError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 11 |     #[error("Unauthorized: invalid or missing gateway API key")]
[INFO] [stdout] 12 |     Unauthorized,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     CircuitOpen(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_agent_id` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn extract_agent_id(req: &Request<Body>) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_budget` is never used
[INFO] [stdout]   --> src/middleware/spend.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn check_budget(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `chat_stream`, and `models` are never used
[INFO] [stdout]   --> src/providers/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait Provider: Send + Sync {
[INFO] [stdout]    |           -------- methods in this trait
[INFO] [stdout] 15 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 16 |     async fn chat(&self, request: serde_json::Value) -> Result<serde_json::Value>;
[INFO] [stdout] 17 |     async fn chat_stream(&self, request: serde_json::Value) -> Result<Vec<u8>>;
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 18 |     async fn models(&self) -> Result<Vec<ProviderModel>>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProviderModel` is never constructed
[INFO] [stdout]   --> src/providers/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ProviderModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NvidiaProvider` is never constructed
[INFO] [stdout]  --> src/providers/nvidia.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct NvidiaProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/nvidia.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl NvidiaProvider {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: NvidiaConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ZaiProvider` is never constructed
[INFO] [stdout]  --> src/providers/zai.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ZaiProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/zai.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ZaiProvider {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: ZaiConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "d0a7de6dd011f08ca418a54a233f25ab6082e2c3a7a75ca6ccbc4533da929f51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0a7de6dd011f08ca418a54a233f25ab6082e2c3a7a75ca6ccbc4533da929f51", kill_on_drop: false }`
[INFO] [stdout] d0a7de6dd011f08ca418a54a233f25ab6082e2c3a7a75ca6ccbc4533da929f51
